package com.team2.outpatient_sys.pojo;

import java.math.BigDecimal;

public class PharmacyStorage {
    private Integer id;
    private Integer medicineId;
    private String name;
    private Integer cont;
    private Integer deadline;
    private String category;
    private BigDecimal price;
    private String brand;
    private String dateManufacture;

    public PharmacyStorage(){}

    @Override
    public String toString() {
        return "PharmacyStorage{" +
                "id=" + id +
                ", medicineId=" + medicineId +
                ", name='" + name + '\'' +
                ", cont=" + cont +
                ", deadline='" + deadline + '\'' +
                ", category='" + category + '\'' +
                ", price=" + price +
                ", brand='" + brand + '\'' +
                ", dateManufacture='" + dateManufacture + '\'' +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getMedicineId() {
        return medicineId;
    }

    public void setMedicineId(Integer medicineId) {
        this.medicineId = medicineId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getCont() {
        return cont;
    }

    public void setCont(Integer cont) {
        this.cont = cont;
    }

    public Integer getDeadline() {
        return deadline;
    }

    public void setDeadline(Integer deadline) {
        this.deadline = deadline;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getDateManufacture() {
        return dateManufacture;
    }

    public void setDateManufacture(String dateManufacture) {
        this.dateManufacture = dateManufacture;
    }

    public PharmacyStorage(Integer id, Integer medicineId, String name, Integer cont, Integer deadline, String category, BigDecimal price, String brand, String dateManufacture) {
        this.id = id;
        this.medicineId = medicineId;
        this.name = name;
        this.cont = cont;
        this.deadline = deadline;
        this.category = category;
        this.price = price;
        this.brand = brand;
        this.dateManufacture = dateManufacture;
    }
}
